package com.example.springweb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpointAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import com.example.springweb.config.DataSourceConfig;

@SpringBootApplication(exclude = {AuditEventsEndpointAutoConfiguration.class})
@ComponentScan(value = {"com.example.springweb"})
@MapperScan(basePackages = {"com.example.springweb.mapper"})
@EnableConfigurationProperties(DataSourceConfig.class)
public class SpringWebApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringWebApplication.class, args);
	}

}
